#ifndef LOGIN_UI_H
#define LOGIN_UI_H
#include <QDialog>
#include "room.h"
class QAction;
class QGroupBox;
class QLabel;
class QLineEdit;
class QMenu;
class QMenuBar;
class QPushButton;
class QTextEdit;
class MainDialog;
class Dialog : public QDialog
{
    Q_OBJECT

public:
   Dialog(RoomDialog *main); 

private:
    void createGridGroupBox();

    enum { NumGridRows = 3, NumButtons = 4 };

    RoomDialog *rdia;
    QMenuBar *menuBar;
    QGroupBox *horizontalGroupBox;
    QGroupBox *gridGroupBox;
    QTextEdit *smallEditor;
    QTextEdit *bigEditor;
    QLabel *labels[NumGridRows];
    QLineEdit *lineEdits[NumGridRows];
    QPushButton *buttons[NumButtons];
    QPushButton *okButton;
    QPushButton *cancelButton;
public slots :
void login();
void exit();
};

#endif
